package com.wang.service;



import com.aaa.entity.GGoods;
import com.aaa.entity.OOrder;
import com.aaa.vo.GoodsNumVo;
import com.aaa.vo.GoodsVo;
import com.aaa.vo.Result;
import com.alipay.api.AlipayApiException;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.vo.GoodsVo1;

import java.io.IOException;
import java.util.List;

/**
 *
 */
public interface OOrderService extends IService<OOrder> {
Result pageList(List<GoodsVo1> oOrders1);
Result findByRepertory(List<GoodsVo1> oOrders1);

    Result fandAll(Integer pageCurrent,Integer pageSize,Integer state);



    Result deleteOrder(String code);


    Result updateOrder(String id);
    Result updateOrderqx(String id);
    Result pay(Integer paysort,String code) throws IOException;
    Result paystateus(String code) throws AlipayApiException;

    Result status(String code);
    List<OOrder> findBycode(String code);
    int updateSumNum(String residue,Integer id);;
}
